home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ Jul 89 / W0121-"Feature" of TIcon.-Jul89 < prev    next >
Encoding:
Text File  |  1989-08-22  |  921 b   |  25 lines  |  [TEXT/GEOL]

  1. Item forwarded  by  BURBECK.S    to BICE         REED.D
  2.  
  3. Item    0405365                         24-July-89        20:17
  4.  
  5. From:   PETTUS.C                        Pettus, Christopher
  6.  
  7. To:     MACAPP.TEST                     MacApp SQA Team
  8.  
  9. cc:     MACAPP.TECH$                    MACAPP Tech
  10.  
  11. Sub:    "Feature" of TIcon.SetIcon
  12.  
  13. I would like to pass this on to both the MacApp documentation team and to the
  14. world at large to prevent anyone having to track down this problem again.
  15.  
  16. There is a hole in the documentation for the TIcon class, in particular the
  17. SetIcon method.  When setting the icon to either a color or monochrome icon,
  18. the fPreferColor _MUST_ correctly reflect the kind of icon, since
  19. TIcon.ReleaseIcon will attempt to release it as either a Color Icon structure
  20. or a simple handle depending on the setting of fPreferColor.  Serious mayhem
  21. results if fPreferColor is not set correctly.
  22.  
  23. Thanks!
  24.  
  25.